package com.zhy.sunmi.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @ClassName Coupons
 * @Description TODO
 * @Author zhouhongyang
 * @DATE 2021/9/24 11:33 下午
 * @Version 1.0
 */
@Entity
public class Coupons {

    /**
     * id : 4
     * code_num : 783936
     * name : 新店开业全场9折
     * requirement : 0
     * endtime : 2021-09-01 00:00:00 - 2021-10-31 00:00:00
     * status : 1
     * money : null
     * discount : 0.9
     * num : -1
     * times : 1
     */
    @Id(autoincrement = true)
    private long id;
    private String code_num;
    private String name;
    private String requirement;
    private String endtime;
    private String status;
    private String money;
    private String discount;
    private String num;
    private String times;
    @Generated(hash = 1737687910)
    public Coupons(long id, String code_num, String name, String requirement,
            String endtime, String status, String money, String discount,
            String num, String times) {
        this.id = id;
        this.code_num = code_num;
        this.name = name;
        this.requirement = requirement;
        this.endtime = endtime;
        this.status = status;
        this.money = money;
        this.discount = discount;
        this.num = num;
        this.times = times;
    }
    @Generated(hash = 1264757592)
    public Coupons() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getCode_num() {
        return this.code_num;
    }
    public void setCode_num(String code_num) {
        this.code_num = code_num;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getRequirement() {
        return this.requirement;
    }
    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }
    public String getEndtime() {
        return this.endtime;
    }
    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }
    public String getStatus() {
        return this.status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getMoney() {
        return this.money;
    }
    public void setMoney(String money) {
        this.money = money;
    }
    public String getDiscount() {
        return this.discount;
    }
    public void setDiscount(String discount) {
        this.discount = discount;
    }
    public String getNum() {
        return this.num;
    }
    public void setNum(String num) {
        this.num = num;
    }
    public String getTimes() {
        return this.times;
    }
    public void setTimes(String times) {
        this.times = times;
    }
}
